<template>
  <view class="message-item">
    <view class="msg">
      <view class="author">
        <image src="../../../static/image/douyin.svg" mode=""></image>
      </view>
      <view class="detail">
        <text>抖音小助手</text>
        <text>2002舞</text>
      </view>
    </view>
    <view class="time">
      星期日
    </view>
  </view>
</template>

<script>
  export default {
    name:"MessageItem",
    data() {
      return {
        
      };
    }
  }
</script>

<style lang="scss" scoped>
.message-item{
  margin-top: 20rpx;
  height: 100rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 28rpx;
  color: #fff;
  .msg{
    display: flex;
    align-items: center;
    .author{
      image{
        height: 80rpx;
        width: 80rpx;
        border-radius: 50%;
        background-color: #000;
      }
    }
    .detail{
      margin-left: 20rpx;
      display: flex;
      flex-direction: column;
    }
  }
}
</style>
